﻿using System;

namespace Sasa.QualityTools.CodeAnalysis.SearchEngine.Processing.Tokens
{
    internal class And : IOperatorToken
    {
        public int Priority { get { return 0; } }

        public string Value { get; set; }


        public override bool Equals(object obj)
        {
            And o = obj as And;
            return (o == null) ? false : Value == o.Value;
        }

        public override string ToString()
        {
            return Value;
        }
    }
}
